package com.base.service;

import com.base.dao.DtsUserExample;
import com.base.mapper.DtsUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DtsUserService {

    @Resource
    private DtsUserMapper userMapper;

    public Object getUser() {
        DtsUserExample example = new DtsUserExample();
        example.or().andIdEqualTo(1);
        return userMapper.selectByExample(example);
    }
}
